import React, {Component} from 'react';
// import Demo from './pages/1_setState'
// import Demo from './pages/2_lazyLoad'
// import Demo from './pages/3_hooks'
// import Demo from './pages/4_fragment'
// import Demo from './pages/5_context'
// import Demo from './pages/6_optimize'
// import Demo from './pages/7_renderProps'
import Parent from './components/8_ErrorBoundary/Parent'

export default class App extends Component {
  render() {
    return (
      <div>
        {/*<Demo/>*/}
        <Parent/>
      </div>
    );
  }
}